package com.cn.jiyun.service.impl;

import com.cn.jiyun.JingDianClient;
import com.cn.jiyun.service.ScenticTicketsService;
import com.cn.jiyun.entity.pojo.CarouselImages;
import com.jiyun.entity.pojo.ScenicTickets;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScenticTicketsServiceImpl implements ScenticTicketsService {

    @Autowired
    private JingDianClient jingDianClient;


    @Override
    public List<ScenicTickets> findAll(String scenicName,String sort) {
        return jingDianClient.findAll(scenicName, sort).getData();
    }


}
